import React, { PureComponent } from 'react';
import { Button } from 'antd';
class VoteFooter extends PureComponent {
    state = {}
    render () {
        console.log('render voteFooter');
        return (
            <div>
                <Button type="primary" onClick={() => this.props.change('up')}>支持</Button>
                <Button type="primary" danger onClick={() => this.props.change('down')}>反对</Button>
            </div>
        );
    }
}

export default VoteFooter;